const Component = {
  name: 'User',
  template: '<router-view></router-view>'
}
export default [
  {
    path: '/user',
    meta: { commonComp: 'container' },
    component: Component,
    children: [
      {
        /* 用户详情
        -------------------------- */
        name: 'UserDetail',
        path: 'detail',
        meta: { name: '用户详情' },
        component: resolve => require(['./detail'], resolve)
      },
      {
        /* 用户列表
        -------------------------- */
        name: 'UserList',
        path: 'list',
        meta: { name: '用户列表' },
        component: resolve => require(['./list'], resolve)
      }
    ]
  }
]
